
include ../rule.mak

SUBDIRS=device input msg

LIBS=device/*.o input/*.o msg/*.o


all:
	@for dir in $(SUBDIRS); do \
		make -C $$dir;\
	done
install:
	$(AR) -cr system.a $(LIBS)

clean:
	rm -rf system.a
	$(foreach N,$(SUBDIRS),make -C $(N) clean;)
